import socket

class SyncClient:
    def send_sync_data(self, host: str, port: int, data: bytes):
        """发送同步数据"""
        with socket.socket() as s:
            s.connect((host, port))
            s.sendall(data)